#ifndef _POST_MORTEM_DEBUG_H_
#define _POST_MORTEM_DEBUG_H_

#if (defined(_MSC_VER)&& defined(_M_IX86))
#pragma comment(lib,"dbghelp.lib")
#pragma comment(lib,"user32.lib")
#pragma message("Crash handler is available")
#define ENABLE_CRASH_HANDLER _enableCrashHandler()
void _enableCrashHandler();
#else
#pragma message("Crash handler is unavailable")
#define ENABLE_CRASH_HANDLER
#endif

#endif